/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package javacroft.business;

/**
 *
 * @author hind
 */
public class SemestreEtranger
{
    private Semestre unSemestre;
    private float note;

    public SemestreEtranger(Semestre leSemestre,float laNote)
    {
        this.unSemestre=leSemestre;
        this.note=laNote;
    }

    public Semestre getSemestre()
    {
        return unSemestre;
    }

    public float getNote()
    {
        return note;
    }

   public boolean compareTo(Semestre semestre)
   {
    return unSemestre.compareTo(semestre.getCodeApogee());
   }
}
